<?php /* Smarty version Smarty-3.1.6, created on 2018-05-15 15:27:33
         compiled from "D:/phpStudy/PHPTutorial/WWW/myshop/Admin/View\IntegralGoods\addcats.html" */ ?>
<?php /*%%SmartyHeaderCode:6449704505af16b5d8f3664-34475615%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd419cc388994fcd0b7d306dc06ee9d75620d4131' => 
    array (
      0 => 'D:/phpStudy/PHPTutorial/WWW/myshop/Admin/View\\IntegralGoods\\addcats.html',
      1 => 1525775658,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '6449704505af16b5d8f3664-34475615',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_5af16b5d9b2ce',
  'variables' => 
  array (
    'cats_info' => 0,
    'v' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5af16b5d9b2ce')) {function content_5af16b5d9b2ce($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="<?php echo @ADMIN_CSS_PATH;?>
style.css" rel="stylesheet" type="text/css" />
</head>

<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="<?php echo @__MODULE__;?>
/index/main">首页</a></li>
    <li>添加分类	</li>
    </ul>
    </div>
    
    <div class="formbody">
    
    <div class="formtitle"><span>基本信息</span></div>
    <form action="<?php echo @__SELF__;?>
" method="post" enctype="multipart/form-data">
    <ul class="forminfo">
    <li><label>分类名称</label><input name="title" id="title" type="text" class="dfinput"/></li>
    <li><label>父级分类:</label>  
    <select class="select3" name="parent_uid" id="parent_uid">
    <!--<option value="1" selected="selected">上架</option>-->
    <option value="0" selected="selected">无</option>
    <?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['cats_info']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value){
$_smarty_tpl->tpl_vars['v']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['v']->key;
?>
    <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
"><?php echo $_smarty_tpl->tpl_vars['v']->value['title'];?>
</option>
    <?php } ?>
    </select>
    </li>
    <li><label>分类状态:</label>  
    <select class="select3" name="status" id="status">
    <option value="1" selected="selected">上架</option>
    <option value="0">下架</option>
    </select>
    </li>
    <li><label>排序</label><input name="sort" id="sort" type="text" class="dfinput"></li>
    <li><label>分类图片</label><input name="image" id="image" type="file" /></li>
    <li><label>&nbsp;</label><input type="submit" class="btn" value="确认保存"/></li>
    </ul>
    </form>
    
    </div>
</body>
</html>
<?php }} ?>